try:
    num1 = input("Please add your numbers seperate by space:")
    room = num1.split()
    room = [int(num) for num in room]
    print(f'The answer is: {sum(room)}')
except ValueError:
    print('The type is wrong.')



